

#ifndef _SHELL_RESUPSELFKUNGFUINFO_MESSAGE_H_
#define _SHELL_RESUPSELFKUNGFUINFO_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
//#include "SelfKungfuInfo.h"
using namespace std;

class ResUpSelfKungfuInfoMessage : public Message
{
	public:
	ResUpSelfKungfuInfoMessage();
	~ResUpSelfKungfuInfoMessage();
	void reset();
	ResUpSelfKungfuInfoMessage* clone();
	static const int _ID;
	//操作类型(1,增加2,修改,3删除)
	int32 upType;
	//变化的技能信息
	SelfKungfuInfo* selfKungfuInfo;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
